package com.ctshk.rpc.train.dto.es;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 火车车次表
 * </p>
 *
 * @author 彭柳霖
 * @since 2021-03-10
 */
@Data
@ApiModel(value="TrainNumberCache对象", description="火车车次缓存表")
public class TrainNumberCacheDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "火车车次id")
    private Long id;

    @ApiModelProperty(value = "车次类型")
    private Long typeId;

    @ApiModelProperty(value = "车次类型名称")
    private String typeName;

    @ApiModelProperty(value = "车次名称")
    private String trainNumberName;

    @ApiModelProperty(value = "出发城市id")
    private Long departureCityId;

    @ApiModelProperty(value = "出发城市名称")
    private String departureCityName;

    @ApiModelProperty(value = "到达城市id")
    private Long arriveCityId;

    @ApiModelProperty(value = "到达城市名称")
    private String arriveCityName;

    @ApiModelProperty(value = "始发站点id")
    private Long departureStationId;

    @ApiModelProperty(value = "始发站点名称")
    private Long departureStationName;

    @ApiModelProperty(value = "终点站id")
    private Long terminusId;

    @ApiModelProperty(value = "终点站名称")
    private String terminusName;

    @ApiModelProperty(value = "车次产品列表")
    private List<TrainProductCacheDTO> trainProductCacheDTOS;

    @ApiModelProperty(value = "火车经停站信息")
    private List<TrainStopStationCacheDTO> trainStopStationCacheDTOS;

}
